
package com.cbwl.eoas.cms.model.sysconfig;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.cbwl.eoas.common.base.CommonBean;


public class SysLogDTO extends CommonBean {

	
	
	private static final long serialVersionUID = -1811750876887605631L;
	private java.lang.Long id;
	private java.lang.String sysLogType;
	private java.lang.String sysClientIp;
	private java.lang.String sysUri;
	private java.lang.String sysUrl;
	private java.lang.String sysHttpMethod;
	private java.lang.String sysParam;
	private java.lang.String sysResResult;
	private Long sysResTime;
	private java.lang.String sysExceptionInfo;
	private java.lang.String sysRemark;
	
	private java.lang.Long creater;
	
	private java.util.Date gmtCreate;
	//columns END

	private String datemin;
	
	private String datemax;
	
	

	
	
	public String getDatemin() {
		return datemin;
	}

	
	public void setDatemin(String datemin) {
		this.datemin = datemin;
	}

	
	public String getDatemax() {
		return datemax;
	}

	
	public void setDatemax(String datemax) {
		this.datemax = datemax;
	}

	public void setId(java.lang.Long value) {
		this.id = value;
	}
	
	public java.lang.Long getId() {
		return this.id;
	}
	
	public void setSysLogType(java.lang.String value) {
		this.sysLogType = value;
	}
	
	public java.lang.String getSysLogType() {
		return this.sysLogType;
	}
	
	public void setSysClientIp(java.lang.String value) {
		this.sysClientIp = value;
	}
	
	public java.lang.String getSysClientIp() {
		return this.sysClientIp;
	}
	
	public void setSysUri(java.lang.String value) {
		this.sysUri = value;
	}
	
	public java.lang.String getSysUri() {
		return this.sysUri;
	}
	
	public void setSysUrl(java.lang.String value) {
		this.sysUrl = value;
	}
	
	public java.lang.String getSysUrl() {
		return this.sysUrl;
	}
	
	public void setSysHttpMethod(java.lang.String value) {
		this.sysHttpMethod = value;
	}
	
	public java.lang.String getSysHttpMethod() {
		return this.sysHttpMethod;
	}
	
	public void setSysParam(java.lang.String value) {
		this.sysParam = value;
	}
	
	public java.lang.String getSysParam() {
		return this.sysParam;
	}
	
	
	public java.lang.String getSysResResult() {
		return sysResResult;
	}
	
	public void setSysResResult(java.lang.String sysResResult) {
		this.sysResResult = sysResResult;
	}
	
	public Long getSysResTime() {
		return sysResTime;
	}


	
	public void setSysResTime(Long sysResTime) {
		this.sysResTime = sysResTime;
	}


	public void setSysExceptionInfo(java.lang.String value) {
		this.sysExceptionInfo = value;
	}
	
	public java.lang.String getSysExceptionInfo() {
		return this.sysExceptionInfo;
	}
	
	public void setSysRemark(java.lang.String value) {
		this.sysRemark = value;
	}
	
	public java.lang.String getSysRemark() {
		return this.sysRemark;
	}
	
	public void setCreater(java.lang.Long value) {
		this.creater = value;
	}
	
	public java.lang.Long getCreater() {
		return this.creater;
	}
	
	public void setGmtCreate(java.util.Date value) {
		this.gmtCreate = value;
	}
	
	public java.util.Date getGmtCreate() {
		return this.gmtCreate;
	}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
			.append("Id",getId())
			.append("SysLogType",getSysLogType())
			.append("SysClientIp",getSysClientIp())
			.append("SysUri",getSysUri())
			.append("SysUrl",getSysUrl())
			.append("SysHttpMethod",getSysHttpMethod())
			.append("SysParam",getSysParam())
			.append("SysResponseResult",getSysResResult())
			.append("SysResponseTime",getSysResTime())
			.append("SysExceptionInfo",getSysExceptionInfo())
			.append("SysRemark",getSysRemark())
			.append("Creater",getCreater())
			.append("GmtCreate",getGmtCreate())
			.toString();
	}
	
	public int hashCode() {
		return new HashCodeBuilder()
			.append(getId())
			.toHashCode();
	}
	
	public boolean equals(Object obj) {
		if(obj instanceof SysLogDTO == false){return false;}
		if(this == obj){return true;}
		SysLogDTO other = (SysLogDTO)obj;
		return new EqualsBuilder()
			.append(getId(),other.getId())
			.isEquals();
	}
}

